package com.marveal.rabbit.api.exception;

/**
 * $MessageRuntimeException 消息运行时异常
 */
public class MessageRuntimeException extends RuntimeException{

    private static final long serialVersionUID = 5510196868666765425L;

    public MessageRuntimeException() {
        super();
    }

    public MessageRuntimeException(MessageRuntimeExceptionType messageRuntimeExceptionType) {
        super(messageRuntimeExceptionType.description);
    }

    public MessageRuntimeException(String message) {
        super(message);
    }

    public MessageRuntimeException(String message, Throwable cause) {
        super(message, cause);
    }

    public MessageRuntimeException(Throwable cause) {
        super(cause);
    }
}
